package com.gonsin.gnews.example.news;

import com.gonsin.gnews.annotations.model.TimePo;
import com.gonsin.gnews.annotations.GNews;
import com.gonsin.gnews.annotations.GNewsField;
import lombok.Data;

@Data
@GNews(title = "预约类型", name = "预约成功通知", key = "TemplateCommitPo")
public class TemplateCommitPo extends BaseTemplatePo{

    @GNewsField(name = "单号", demo = "OXXXXXX")
    private String orderNo;

    @GNewsField(name = "申请人ID", demo = "12")
    private int userId;

    @GNewsField(name = "申请人名称", demo = "邓某")
    private String realName;

    @GNewsField(name = "会议ID", demo = "conference_xxxx")
    private String conferenceKey;

    @GNewsField(name = "备注信息", demo = "此处为备注信息")
    private String information;

    @GNewsField(name = "驳回理由", demo = "该会议室已被占用")
    private String denyMessage;

    @GNewsField(name = "会议地点", demo = "大会议室")
    private String place;

    @GNewsField(name = "审核人员的账户名", demo = "admin")
    private String auditUsername;               // 审核人员

    @GNewsField(name = "审核人员的真实名字", demo = "管理员")
    private String auditRealName;

    @GNewsField(name = "申请状态", demo = "已通过")
    private String applyStatus;

    @GNewsField(name = "会议周期", demo = "月")
    private String conferenceCycle;

    //    @NotNull
    @GNewsField(name = "会议名称", demo = "部门会议")
    private String name;                // 会议名称

    //    @Min(value = 1, message = "会议实际开始时间不能为空")
    @GNewsField(name = "会议实际开始时间", demo = "")
    private TimePo startTime;             // 会议开始时间，单位毫秒

    //    @Min(value = 1, message = "会议实际结束时间不能为空")
    @GNewsField(name = "会议实际结束时间", demo = "")
    private TimePo endTime;      // 会议结束时间，单位毫秒

    @GNewsField(name = "会议内容", demo = "此处为会议内容")
    private String conferenceContent;       // 会议内容   // 预约人名字

    @GNewsField(name = "预约人手机号码", demo = "1343455555")
    private String phone;

    @GNewsField(name = "说明", demo = "此处为说明")
    private String explains;

    @GNewsField(name = "会议所需设备", demo = "投影仪、无纸化")
    private String equipment;

    @GNewsField(name = "牵头部门", demo = "研发中心")
    private String leadDept;

    @GNewsField(name = "经办人员", demo = "黄某")
    private String handPerson;

    @GNewsField(name = "参会人员", demo = "陶某、李某")
    private String conferee;

    @GNewsField(name = "附件", demo = "http://xxx.xxx.xxx/files/xxxx.pdf")
    private String accessoryUrl;

    @GNewsField(name = "是周期就第几天", demo = "8")
    private String day;

    @GNewsField(name = "人员资料的key", demo = "userMessage_xxxx")
    private String userMessageKey;

    @GNewsField(name = "部门的key", demo = "department_xxxx")
    private String departmentKey;

}
